//
//  BluetoothDisplayView.h
//  Saas
//
//  Created by 杨荣 on 2020/6/1.
//  Copyright © 2020 bing. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BluetoothManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface BluetoothDisplayView : UIView


/* 连接外设 */
typedef void (^ConnectPeripheralBlock)(CBPeripheral *peripheral);
@property (nonatomic,copy) ConnectPeripheralBlock connectPeripheralBlock;

typedef void (^HideBlock)(void);
@property (nonatomic,copy) HideBlock hideBlock;

+ (instancetype)show:(UIView *)view;
- (void)update:(NSArray <CBPeripheral *>*)peripheralArray;

@end

NS_ASSUME_NONNULL_END
